$f: 19.2;

body {
  background: #FAFAFA;
}

.home {
  position: relative;
  .dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background: rgba(0, 0, 0, 0.30);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;

    .content {
      width: 706/$f+vw;
      border-radius: 12/$f+vw;
      background: white;
      padding: 60/$f+vw;
      position: relative;
      .close{
        position: absolute;
        right:40/$f+vw;
        top:40/$f+vw;
        z-index: 10;
        cursor: pointer;
        svg{
          width: 20/$f+vw;
          display: block;
        }
      }
      .form {
        .item {
          margin-bottom: 40/$f+vw;

          p {
            color: #000;
            font-size: 18/$f+vw;
            margin-bottom: 16/$f+vw;
          }

          input {
            height: 52/$f+vw;
            border-radius: 4px;
            border: 1px solid rgba(0, 0, 0, 0.20);
            background: #FFF;
            width: 100%;
            padding: 18/$f+vw 26/$f+vw;
            color: #000;
            font-size: 16/$f+vw;

            &::placeholder {
              color: #999;
            }
          }
        }

        .gz {
          margin-bottom: 40/$f+vw;
          p {
            color: #000;
            font-size: 18/$f+vw;
            margin-bottom: 16/$f+vw;
          }

          .tag {
            width: 114/$f+vw;
            height: 32/$f+vw;
            background: rgba(26, 83, 240, 0.10);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1A53F0;
            font-size: 16/$f+vw;
            border-radius: 6/$f+vw;
          }
        }
        .area{
          p {
            color: #000;
            font-size: 18/$f+vw;
            margin-bottom: 16/$f+vw;
          }
          select {
            height: 52/$f+vw;
            border-radius: 4px;
            border: 1px solid rgba(0, 0, 0, 0.20);
            background: #FFF;
            width: 100%;
            padding: 0 26/$f+vw;
            color: #000;
            font-size: 16/$f+vw;

            &::placeholder {
              color: #999;
            }
          }
        }
        button{
          display: flex;
width: 168/$f+vw;
height: 52/$f+vw;
padding: 15/$f+vw 43.8/$f+vw 15/$f+vw 44/$f+vw;
justify-content: center;
align-items: center;
font-size: 20/$f+vw;
color:white;
outline: none;
border: none;
background: #1A53F0;
border-radius: 6/$f+vw;
margin-top: 60/$f+vw;
cursor: pointer;
        }
      }
    }
  }
  .main {
    margin: 112/$f+vw 260/$f+vw;

    .links {
      display: flex;
      margin-bottom: 10/$f+vw;

      a,
      span {
        color: #B7B7B7;
        font-size: 14/$f+vw;
      }

      span {
        margin: 0 10/$f+vw;
      }

      p {
        color: #000;
        font-size: 14/$f+vw;
      }
    }

    .info {
      background: white;
      padding: 46/$f+vw 96/$f+vw;

      .tbox {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .t {
          color: #000;
          font-size: 48/$f+vw;
          font-weight: 600;
        }

        .btn {
          padding: 7/$f+vw 34/$f+vw;
          font-size: 16/$f+vw;
          border-radius: 4/$f+vw;
          background: #1A53F0;
          color:white;
          cursor: pointer;
          line-height: 1.69;
        }
      }



      .tags {
        color: #666;
        font-size: 16/$f+vw;
        margin: 16/$f+vw 0 36/$f+vw 0;
        padding-bottom: 14/$f+vw;
        border-bottom: 1px solid #D8D9DC;

        span:nth-child(2) {
          margin: 0 15/$f+vw;
        }

        svg {
          width: 20/$f+vw;
          display: inline-block;
          margin-left: 5/$f+vw;
          transform: translateY(2px);
          cursor: pointer;
        }
      }

      .sec1 {
        margin-bottom: 40/$f+vw;

        .t1 {
          display: flex;
          align-items: center;
          margin-bottom: 21/$f+vw;

          .line {
            width: 6/$f+vw;
            height: 27/$f+vw;
            background: #6CA5FF;
          }

          p {
            margin-left: 8/$f+vw;
            color: #000;
            font-size: 24/$f+vw;
            font-weight: 600;
          }
        }

        .t2 {
          margin-bottom: 20/$f+vw;
          width: 244/$f+vw;
          height: 38/$f+vw;
          background: linear-gradient(90deg, #D2EAFF 0%, #FFF 100%);
          padding: 6/$f+vw 10/$f+vw;
          color: #000;
          font-size: 16/$f+vw;
          font-weight: 600;
        }

        .pic {
          text-align: center;
        }

        .html,
        .des {
          color: #333;
          font-size: 16/$f+vw;
          line-height: 1.625;
          margin-bottom: 26/$f+vw;

          ul {
            margin-left: 20/$f+vw;

            li {
              list-style: disc;
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .dialog{
      .content{
        width: 80%;
        border-radius: 10px;
        padding: 20px;
        .close{
          right:10px;
          top:10px;
          svg{
            width: 15px;
          }
        }
        .form{
          .item{
            margin-bottom: 20px;
            p{
              font-size: 18px;
              margin-bottom: 8px;
            }
            input{
              height: 35px;
              font-size: 14px;
              padding: 8px 12px;
            }
          }
          .gz{
            margin-bottom: 20px;
            p{
              font-size: 18px;
              margin-bottom: 8px;
            }
            .tag{
              width: 114px;
              height: 32px;
              font-size: 16px;
              border-radius: 5px;
            }
          }
          .area{
            p{
              font-size: 18px;
              margin-bottom: 8px;
            }
            select{
              height: 35px;
              font-size: 14px;
              padding: 8px 12px;
            }
          }
          button{
            width: 128px;
            height: 35px;
            font-size: 16px;
            border-radius: 5px;
            margin-top: 15px;
          }
        }
      }
    }
    .main {
      margin: 70px 5%;

      .links {
        margin-bottom: 10px;

        a,
        span,
        p {
          font-size: 16px;
        }

        span {
          margin: 0 8px;
        }
      }

      .info {
        padding: 15px;

        .t {
          font-size: 18px;
        }

        .tags {
          font-size: 14px;
          margin: 5px 0 10px 0;
          padding-bottom: 20px;
          line-height: 1.6;

          span {
            display: block;
          }

          span:nth-child(2) {
            margin-left: 0;
          }

          svg {
            width: 20px;
            height: auto;
            margin-left: 0;
          }
        }

        .sec1 {
          margin-bottom: 30px;

          .t1 {
            margin-bottom: 15px;

            .line {
              width: 5px;
              height: 20px;
            }

            p {
              margin-left: 6px;
              font-size: 18px;
            }
          }

          .t2 {
            width: 100%;
            height: 38px;
            font-size: 16px;
            padding: 6px 10px;
            margin-bottom: 10px;
          }

          .pic {
            margin-bottom: 20px;
          }

          .html,
          .des {
            font-size: 14px;
            margin-bottom: 26px;

            ul {
              margin-left: 15px;
            }
          }
        }
      }
    }
  }
}